﻿using System;
using Business.Entities.Actions;

namespace Business.Entities
{
    public class GoogleException :Exception
    {
        public GoogleException(Result result)
            : base("Google returned an error code upon request: " + result.error_code)
        {

        }
        public GoogleException(string error)
            : base("Google request error: " +error)
        {

        }
    }
}
